package lab02;

/**
 * Created by Culle on 2017-10-15.
 */
public class Address {
    private String country;
    private String province;
    private String city;
    private String street;
    private String zipcode;
    public Address(String country,String province,String city,String street,String zipcode)
    {
        this.country=country;
        this.province=province;
        this.city=city;
        this.street=street;
        this.zipcode=zipcode;
    }
    public String getCountry()
    {
        return this.country;
    }
    public void setCountry(String country)
    {
        this.country=country;
    }
    public String getProvince()
    {
        return province;
    }
    public void setProvince(String province)
    {
        this.province=province;
    }
    public String getCity()
    {
        return city;
    }
    public void setCity(String city)
    {
        this.city=city;
    }
    public String getStreet()
    {return street;
    }
    public void setStreet(String street)
    {
        this.street=street;
    }
    public String getZipcode()
    {
        return zipcode;
    }
    public void setZipcode(String zipcode)
    {
        this.zipcode=zipcode;
    }
    public void print()
    {
        System.out.println("国家："+this.country+"\n"+"省份："+this.province+"\n"+"城市："+this.city+"\n"+"街道："+this.street+"\n"+"邮编："+zipcode);
    }
}
